//
//  WXDanMuCell.h
//  弹幕
//
//  Created by tianlong on 2018/12/27.
//  Copyright © 2018年 tianlong. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "WXDanMuMessage.h"

@interface WXDanMuCell : UIView
@property (copy,   nonatomic) NSString *identifier;
@property (strong, nonatomic) WXDanMuMessage *msg;
/** 点赞描述 */
@property (weak,   nonatomic) UILabel *titleLabel;
/** 标签 */
@property (weak,   nonatomic) UILabel *headLabel;
- (instancetype)initWithDanMuMessage:(WXDanMuMessage *)message identifier:(NSString *)identifier;
- (void)updateLayout;
- (CGSize)getTextSize:(NSString *)text font:(UIFont *)font lineBreakMode:(NSLineBreakMode)lineBreakMode maxSize:(CGSize)maxSize;
@end
